<?php

function sendto( $url ) {
  header( 'location: ' . $url );
  return true;
}

function sendback() {
  if(isset($_SERVER['HTTP_REFERER']))
    sendto($_SERVER['HTTP_REFERER']);
  else 
    return false;
  return true;
}

?>
